package com.universe.family.model.cronous.season2;

import lombok.Data;
import org.springframework.beans.factory.annotation.Qualifier;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Qualifier(value="season2DataSource")
@Table(name="CharacterPack")
@Data public class CharacterPack {
    @Column(name="Personal_Key")
    int personid;

    @Id
    @Column(name="Character_Key")
    int ckey;

    @Column(name="Admin_Level")
    int adminlevel;

    @Column(name="IP")
    int ip;

    @Column(name="Create_Time")
    int createtime;

    @Column(name="Login_Time")
    int logintime;

    @Column(name="Out_Time")
    int outtime;

    @Column(name="Character_Name")
    String charactername;

    @Column(name="Character_Level")
    int characterlevel;

    @Column(name="Character_Class")
    int characterclass;

    @Column(name="Character_Master")
    int charactermaster;

    @Column(name="CreateTime")
    Date cTime;

    @Column(name="UpdateTime")
    Date utime;

    @Column(name="Character_Sex")
    int charactersex;

    @Column(name="Weapon")
    int weapon;

    @Column(name="Shield")
    int shield;

    @Column(name="Armor")
    int armor;

    @Column(name="Helmet")
    int helmet;

    @Column(name="Glove")
    int glove;

    @Column(name="Boot")
    int boot;

    public CharacterPack() {

    }
}
